import { CFGHandler } from './cfg/CFGHandler';

class Main {
    public static main(): void {
        const dir: string = 'utils';
        const handler = new CFGHandler(dir);
        handler.run();
        const edges = handler.getEdges();
        if (edges !== undefined) {
            for (const edge of edges) {
                console.log(edge.getStart().toString() + ' -- ' + edge.getType() + ' --> ' + edge.getEnd().toString());
            }
        }
        // const client = new GremlinClient('ws://172.18.50.12/gremlin');
    }
}

Main.main();
